package com.vooda.dto.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * @author KennyDavid
 */

@Data
@NoArgsConstructor
public class MyTicketVo {

    @ApiModelProperty(value = "优惠券id")
    private Long id;

    @ApiModelProperty(value = "商户名称")
    private String name;

    @ApiModelProperty(value = "商户图片")
    private String imageUrl;

    @ApiModelProperty(value = "优惠券类型")
    private String ticketType;

    @ApiModelProperty(value = "面值")
    private String price;

    @ApiModelProperty(value = "起始时间")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    private Date endTime;

    @ApiModelProperty(value = "是否为永久券")
    private Boolean isForever;

    private String priceDesc;

    private String businessDesc;

    private Long userId;

}
